import request from '@/api/request'

const pre = 'login'

export function login(formData) {
    return request.post(`${pre}/login`, formData);
}

export function getCaptcha() {
    return request.get(`${pre}/getCaptcha`);
}